package com.acme.domain.bank;

import java.io.Serializable;
import java.util.Arrays;

public class Bank implements Serializable {

	private static final long serialVersionUID = 1L;
	private final Client[] clients = new Client[10];
	private int maxClients = 0;

	public Client addClient(final Client client) {
		clients[maxClients++] = client;
		return client;
	}

	@Override
	public String toString() {
		return Arrays.toString(clients);
	}

}
